package com.dhecp.project.hr.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntitySimple;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 年度培训记录 实体
 * @author DH-lwl
 * @version 2020年4月26日
 */
public class TrainingPlanRecord extends BaseBusinessEntitySimple{
	
	private static final long serialVersionUID = 1L;

    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dPxSj; 	//培训时间
	private Double fPxTs;	//培训天数
	private Double fPxFy;	//培训费用
	private String vPxNl;	//培训内容
	private String vPxZzDw;	//培训组织单位
	private String vPxFs;	//培训方式
	private String vPxDd;	//培训地点
	private String vKhFs;	//考核方式
	private String cUser;	//参加学员编号
	private String cUserName;	//参加学员
	private String cPosition;	//学员岗位
	private String cDept;	//所在部门路径
	private String cDeptName;	//所在部门
	private String cCid;		//所在公司编码
	private String cCidName;	//所在公司
	private String pUser;		//培训讲师编号
	private String pUserName;	//培训讲师
	private String vPlanType;	//培训计划类型（数据调入来源）
	
	//虚拟字段
    private String vHFilesPicture;	//培训照片
    
	public Date getdPxSj() {
		return dPxSj;
	}
	public void setdPxSj(Date dPxSj) {
		this.dPxSj = dPxSj;
	}
	public Double getfPxTs() {
		if (fPxTs == null) {
			return 0.0;
		}
		return fPxTs;
	}
	public void setfPxTs(Double fPxTs) {
		this.fPxTs = fPxTs;
	}
	public Double getfPxFy() {
		if (fPxFy == null) {
			return 0.0;
		}
		return fPxFy;
	}
	public void setfPxFy(Double fPxFy) {
		this.fPxFy = fPxFy;
	}
	public String getvPxNl() {
		return vPxNl;
	}
	public void setvPxNl(String vPxNl) {
		this.vPxNl = vPxNl;
	}
	public String getvPxZzDw() {
		return vPxZzDw;
	}
	public void setvPxZzDw(String vPxZzDw) {
		this.vPxZzDw = vPxZzDw;
	}
	public String getvPxFs() {
		return vPxFs;
	}
	public void setvPxFs(String vPxFs) {
		this.vPxFs = vPxFs;
	}
	public String getvPxDd() {
		return vPxDd;
	}
	public void setvPxDd(String vPxDd) {
		this.vPxDd = vPxDd;
	}
	public String getvKhFs() {
		return vKhFs;
	}
	public void setvKhFs(String vKhFs) {
		this.vKhFs = vKhFs;
	}
	public String getcUser() {
		return cUser;
	}
	public void setcUser(String cUser) {
		this.cUser = cUser;
	}
	public String getcUserName() {
		return cUserName;
	}
	public void setcUserName(String cUserName) {
		this.cUserName = cUserName;
	}
	public String getcPosition() {
		return cPosition;
	}
	public void setcPosition(String cPosition) {
		this.cPosition = cPosition;
	}
	public String getcDept() {
		return cDept;
	}
	public void setcDept(String cDept) {
		this.cDept = cDept;
	}
	public String getcDeptName() {
		return cDeptName;
	}
	public void setcDeptName(String cDeptName) {
		this.cDeptName = cDeptName;
	}
	public String getcCid() {
		return cCid;
	}
	public void setcCid(String cCid) {
		this.cCid = cCid;
	}
	public String getcCidName() {
		return cCidName;
	}
	public void setcCidName(String cCidName) {
		this.cCidName = cCidName;
	}
	public String getpUser() {
		return pUser;
	}
	public void setpUser(String pUser) {
		this.pUser = pUser;
	}
	public String getpUserName() {
		return pUserName;
	}
	public void setpUserName(String pUserName) {
		this.pUserName = pUserName;
	}
	public String getvHFilesPicture() {
		return vHFilesPicture;
	}
	public void setvHFilesPicture(String vHFilesPicture) {
		this.vHFilesPicture = vHFilesPicture;
	}
	public String getvPlanType() {
		if (vPlanType == null || "".equals(vPlanType)){
			return "Record";
		}
		return vPlanType;
	}
	public void setvPlanType(String vPlanType) {
		this.vPlanType = vPlanType;
	}
	
}
